package cn.edu.ujn.project.supermarket.extendbean;

import cn.edu.ujn.project.common.annotation.Excel;
import cn.edu.ujn.project.supermarket.domain.GoodsInfor;

public class GoodsInforDeal extends GoodsInfor {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
   
    @Excel(name = "上报商品数量")
	protected int goodsQuantity;
    @Excel(name = "供应商号")
   	protected String supplierId;
    @Excel(name = "供应商名")
   	protected String supplierName;
	
	public GoodsInforDeal() {
		super();
	}

	public String getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(String supplierId) {
		this.supplierId = supplierId;
	}

	public GoodsInforDeal(int sellQuantity,String supplierId,String name,GoodsInfor g) {
		super(g);
		this.supplierId=supplierId;
		this.goodsQuantity = sellQuantity;
		this.supplierName=name;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public int getGoodsQuantity() {
		return goodsQuantity;
	}

	public void setGoodsQuantity(int goodsQuantity) {
		this.goodsQuantity = goodsQuantity;
	}

	@Override
	public String toString() {
		return "GoodsInforChild [sellQuantity=" + goodsQuantity + ", name=" + name + ", barCode=" + barCode + ", price="
				+ price + ", inportPrice=" + inportPrice + ", picturePath=" + picturePath + ", quantity=" + quantity
				+ "]";
	}
	
}
